#pragma once

#include <list>
#include "hgeanim.h"

class CExplode
{
public:
	CExplode(void);
	~CExplode(void);

	void AddExplode(hgeAnimation* a, float x, float y);
	void DoFrame(float dt);
	void DoRender();

private:
	class CTankExplode
	{
	public:
		CTankExplode(hgeAnimation* p, float x, float y):explode(*p),x(x),y(y){}
		~CTankExplode(){}
		hgeAnimation					explode;
		float							x;
		float							y;
	};

	std::list<CTankExplode* >		m_listExplode;
};
